/**
 * 
 */
package com.armail.client.di;

import javafx.beans.property.ObjectProperty;
import javafx.beans.property.SimpleObjectProperty;

import com.armail.client.dto.User;

/**
 * @author arpit
 *
 */
public class Context {

	private static final ObjectProperty<User> user = new SimpleObjectProperty<User>();
	
	public static void setUser(User user) {
		Context.user.setValue(user);
	}

	public static User getUser() {
		return Context.user.get();
	}
	
}
